<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
            <a class="btn btn-primary" @click="setLastThreeYear">&nbsp;近三年</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">学校代码</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="school.code" placeholder="学校代码"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">学校名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="school.name" placeholder="学校名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">学校性质</div>
                        <div class="col-sm-10">
                            <select v-model="school.nature" class="form-control">
                                <option value="公办">公办</option>
                                <option value="民办">民办</option>
                                <option value="混合所有制">混合所有制</option>
                                <option value="独立学院">独立学院</option>
                            </select>

                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">所在地区</div>
                        <div class="col-sm-10">
                            <!--<select v-model="school.area" class="form-control">-->
                                <!--<option value="济南">济南</option>-->
                                <!--<option value="沿海">沿海</option>-->
                                <!--<option value="鲁中">鲁中</option>-->
                                <!--<option value="鲁西北">鲁西北</option>-->
                                <!--<option value="鲁西南">鲁西南</option>-->
                            <!--</select>-->
                                <input type="checkbox" value="济南" v-model="area">
                                <label >济南</label>
                                <input type="checkbox" value="沿海" v-model="area">
                                <label >沿海</label>
                                <input type="checkbox" value="鲁中" v-model="area">
                                <label >鲁中</label>
                                <input type="checkbox" value="鲁西北" v-model="area">
                                <label>鲁西北</label>
                                <input type="checkbox" value="鲁西南" v-model="area">
                                <label>鲁西南</label>
                        </div>
                    </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">学校所在城市：</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="school.cities" placeholder="例如（济南/泰安）"/>
                </div>
            </div>
											                    <div class="form-group">
                        <!--<div class="col-sm-2 control-label">包含专业类别</div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<select v-model="school.professionalcategory" class="form-control">-->
                                <!--<option value="普通">普通</option>-->
                                <!--<option value="医学">医学</option>-->
                                <!--<option value="艺术">艺术</option>-->
                                <!--<option value="军警体">军警体</option>-->
                            <!--</select>-->

                        <!--</div>-->
                             <div class="col-sm-2 control-label">包含专业类别</div>
                             <div class="col-sm-10">
                                 <input type="checkbox" value="普通" v-model="professionalcategory">
                                 <label >普通</label>
                                 <input type="checkbox" value="医学" v-model="professionalcategory">
                                 <label >医学</label>
                                 <input type="checkbox" value="艺术" v-model="professionalcategory">
                                 <label>艺术</label>
                                 <input type="checkbox" value="军警体" v-model="professionalcategory">
                                 <label>军警体</label>
                                 <input type="checkbox" value="师范类" v-model="professionalcategory">
                                 <label>师范类</label>
                             </div>



                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">层次</div>
                        <div class="col-sm-10">
                            <select v-model="school.level" class="form-control">
                                <option value="本科">本科</option>
                                <option value="专科">专科</option>
                                <option value="本专兼有">本专兼有</option>
                            </select>

                        </div>
                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">包含专业形式</div>
                        <div class="col-sm-10">
                            <input type="checkbox" value="普通" v-model="learntype">
                            <label >普通</label>
                            <input type="checkbox" value="校企合作" v-model="learntype">
                            <label >校企合作</label>
                            <input type="checkbox" value="中外合作" v-model="learntype">
                            <label>中外合作</label>
                            <input type="checkbox" value="3+2连续" v-model="learntype">
                            <label>3+2连续</label>
                            <input type="checkbox" value="春考" v-model="learntype">
                            <label>春考</label>
                            <input type="checkbox" value="艺术" v-model="learntype">
                            <label>艺术</label>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">推荐理由</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="school.recommendedreasons" placeholder="推荐理由"/>
                        </div>
                    </div>
											                    <!--<div class="form-group">-->
                        <!--<div class="col-sm-2 control-label">1理科，2文科，1,2文理都有 </div>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" v-model="school.wenlike" placeholder="1理科，2文科，1,2文理都有 "/>-->
                        <!--</div>-->
                    <!--</div>-->
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/school/school.js?_${.now?long}"></script>
</body>
</html>